﻿<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人资料</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit|ie-stand |ie-comp">
		<!-- 指定以最新的IE版本模式来显示网页 -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<!-- 针对360浏览器的内核调用,强制调用极速模式 -->
		<meta name="renderer" content="webkit" />
		<link rel="stylesheet" href="../style/reset1.css">
		<link rel="stylesheet" href="../style/wytiwen.css" />
		
		
		<link rel="stylesheet" href="../city/city-picker.css">
		<!--城市联动-->
		<!--<link rel="stylesheet" href="../style/bootstrap.min.css" />-->
		<script type="text/javascript" src="../js/jquery.min.js" ></script>
		<script type="text/javascript" src="../js/mmlogin.js" ></script>
		
		<script type="text/javascript" src="../city/bootstrap.js" ></script>
		<script type="text/javascript" src="../city/city-picker.data.js" ></script>
		<script type="text/javascript" src="../city/city-picker.js" ></script>
		<!--城市联动-->
		<script type="text/javascript" src="../js/distpicker.data.js" ></script>
		<script type="text/javascript" src="../js/distpicker.js" ></script>
		<!--生日插件-->
		<script type="text/javascript" src="../js/birthday.js" ></script>
	</head>
	<body>
		<!-- 公共顶部 S -->
	    <div class="row header-top">
	        <div class="container">
	            <div class="header-top-l fl">您好，欢迎来到房屋装修监理网!</div>
	            <div class="header-top-r fr">
	                <div class="htrdl"><a href="../mmlogin.html">登录</a></div>
	                <div class="htrdl"><a href="../register.html">注册</a></div>
	                <!-- 登陆后出现用户名 和 退出 -->
	                <!-- <div class="htrdl"><a>Andy233</a></div>
	                <div class="htrdl"><a href="">退出</a></div> -->
	                <span class="htrb"></span>
	                <div class="htr"><a href="../index-zxhd.html">最新活动</a></div>
	                <span class="htrb"></span>
	                <div class="htr"><a href="../index-gsjieshao.html">公司介绍</a></div>
	                <span class="htrb"></span>
	                <div class="htr"><a href="../index-ZXyuyue.html">免费预约</a></div>
	                <span class="htrb"></span>
	                <div class="htr mess"><a href="MyXTxiaoxi.html">消息<span>20</span></a></div>
	                <span class="htrb"></span>
	                <div class="htr"><a href="Myxiangmu.html">个人中心</a></div>
	                <span class="htrb"></span>
	            </div>
	        </div>
	    </div>
	    <div class="row header-logo">
	        <div class="container  header-conter">
	            <div class="hclogo fl">
	                <a href="index.html"><img src="../image/logo.png"></a>
	            </div>
	            <div class="hcsearch">
	                <div class="hcsearl fl">
	                    <select>
	                        <option>监理现场</option>
	                        <option>监理案例</option>
	                        <option>装修攻略</option>
	                        <option>维权视频</option>
	                    </select>
	                </div>
	                <div class="hcsearc fl">
	                    <input type="text">
	                </div>
	                <div class="hcsearr fr">
	                    搜索
	                </div>
	            </div>
	            <div class="hctex fr">
	                <img src="../image/tel.png" style="margin-right: 40px;">
	                <img src="../image/wx.png">
	            </div>
	        </div>
	    </div>
	    <div class="row header-bottom">
	        <div class="container">
	            <a class="hbmain fl" href="../index.html">首页</a>
	            <a class="hbnav fl" href="../index-jlfw.html">监理服务</a>
	            <a class="hbnav fl" href="../index-jlxc.html">监理现场</a>
	            <a class="hbnav fl" href="../index-jlal.html">监理案例</a>
	            <a class="hbnav fl" href="../index-zxgl.html">装修攻略</a>
	            <a class="hbnav fl" href="../index-wqsp.html">维权视频</a>
	            <a class="hbnav fl" href="../index-zxgs.html">装修公司</a>
	        </div>
	    </div>
	    <!--公共顶部 E -->
	
	    <!-- 首页banner S-->
	    <!-- 首页 -->
		<div class="row wyrowbg">
			<div class="container">
				<div class="mytw_left">
					<div class="per_til">个人中心</div>
					<div class="wdxm_box">
						我的项目
						<a href="Myxiangmu.html">我的项目</a>
						<a href="YKwodezhuye.html">我的主页</a>
						<a href="JLYrenwu.html">我的任务</a>
					</div>
					<div class="wdxm_box tiwen">
						我的问答
						<a href="MyYtiwen.html">我要提问</a>
						<a href="MyDtiwen.html">我的提问</a><span class="jiaobiao">99</span>
						<a href="MyDhuida.html">我的回答</a>
					</div>
					<div class="wdxm_box">
						我的关注
						<a href="MyDguanzhu.html">我的关注</a>
					</div>
					<div class="wdxm_box">
						消息通知
						<a href="MyXTxiaoxi.html">系统消息</a><span class="jiaobiao">99</span>
						<a href="MySQxiaoxi.html">申请消息</a><span class="jiaobiao">99</span>
						<a href="MySDpinglun.html">收到的评论</a><span style="margin-right: 103px;" class="jiaobiao">99</span>
						<a href="MySDzan.html">收到的赞</a><span class="jiaobiao">99</span>
					</div>
					<div class="wdxm_box">
						设置权限
						<a href="MySZquanxian.html">设置权限</a>
					</div>
					<div class="wdxm_box">
						邀请好友
						<a href="MyYQhaoyou.html">邀请好友</a>
					</div>
					<div class="wdxm_box" style="border-bottom: none;">
						我的个人资料
						<a href="MyGRziliao.html" class="active">个人资料</a>
						<a href="MyXGtouxiang.html">修改头像</a>
						<a href="MyXGmima.html">修改密码</a>
						<a href="MyXGshouji.html">修改手机</a>
					</div>
				</div>
				<!--右边box-->
				<div class="mytw_right">
					<div class="tiwen1">
						<p>个人资料</p>
						<div class="yingcang1">
						<div class="ziliao_mbox">
							<p>手机号&nbsp;&nbsp;13567433285&nbsp;&nbsp;<a href="MyXGshouji.html">修改</a></p>
							<p class="zlnc">*昵称&nbsp;&nbsp;<input type="text"/></p>
							<p class="zlsex">&nbsp;&nbsp;<span>性别</span>&nbsp;&nbsp;<input type="radio"value="nan" name="sex"/>&nbsp;&nbsp;男&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="radio"value="nv" name="sex"/>&nbsp;&nbsp;女</p>
						</div>
						<div class="zladdress" style="position: relative;">
							<span>*小区地址</span>
							<form class="form-inline">
							    <div class="distpicker" data-toggle="distpicker">
									<input id="city-picker3" class="form-control" readonly type="text" data-toggle="city-picker">
							    </div>
						    </form>
						    <div class="grzlxxadd"><input type="text" placeholder="请输入详细地址"/></div>
						  
							<form name="reg_testdate" class="reg_testdate">
								*生日：
								<select name="YYYY" onchange="YYYYDD(this.value)">
									<option value="">请选择 年</option>
								</select>
								<select name="MM" onchange="MMDD(this.value)">
									<option value="">选择 月</option>
								</select>
								<select name="DD">
									<option value="">选择 日</option>
								</select>
							</form>
							<p class="srlw">输入生日可在当天获得小礼物</p>
						</div>
						<div class="gezlbc"><a>保存</a></div>
						</div>
						<!--修改资料成功显示此样式-->
						<div class="xgzlcg yingcang"><div><img src="../image/p7.png"/>&nbsp;&nbsp;&nbsp;修改资料成功</div></div>
					</div>
				</div>
			</div>
		</div>
		
    	<!--公共底部 S-->
    	<script>
    		
    		window.onload=function(){
    			$("#city-picker3").css("display","none");
    		}
    		
			function YYYYMMDDstart()
			{
				MonHead = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
			
				//先给年下拉框赋内容
				var y  = new Date().getFullYear();
				for (var i = (y-30); i < (y+30); i++) //以今年为准，前30年，后30年
					document.reg_testdate.YYYY.options.add(new Option(" "+ i +" 年", i));
			
				//赋月份的下拉框
				for (var i = 1; i < 13; i++)
					document.reg_testdate.MM.options.add(new Option(" " + i + " 月", i));
			
				document.reg_testdate.YYYY.value = y;
				document.reg_testdate.MM.value = new Date().getMonth() + 1;
				var n = MonHead[new Date().getMonth()];
				if (new Date().getMonth() ==1 && IsPinYear(YYYYvalue)) n++;
				writeDay(n); //赋日期下拉框Author:meizz
				document.reg_testdate.DD.value = new Date().getDate();
			}
			if(document.attachEvent)
				window.attachEvent("onload", YYYYMMDDstart);
			else
				window.addEventListener('load', YYYYMMDDstart, false);
			function YYYYDD(str) //年发生变化时日期发生变化(主要是判断闰平年)
			{
				var MMvalue = document.reg_testdate.MM.options[document.reg_testdate.MM.selectedIndex].value;
				if (MMvalue == ""){ var e = document.reg_testdate.DD; optionsClear(e); return;}
				var n = MonHead[MMvalue - 1];
				if (MMvalue ==2 && IsPinYear(str)) n++;
				writeDay(n)
			}
			function MMDD(str)   //月发生变化时日期联动
			{
				var YYYYvalue = document.reg_testdate.YYYY.options[document.reg_testdate.YYYY.selectedIndex].value;
				if (YYYYvalue == ""){ var e = document.reg_testdate.DD; optionsClear(e); return;}
				var n = MonHead[str - 1];
				if (str ==2 && IsPinYear(YYYYvalue)) n++;
				writeDay(n)
			}
			function writeDay(n)   //据条件写日期的下拉框
			{
				var e = document.reg_testdate.DD; optionsClear(e);
				for (var i=1; i<(n+1); i++)
					e.options.add(new Option(" "+ i + " 日", i));
			}
			function IsPinYear(year)//判断是否闰平年
			{     return(0 == year%4 && (year%100 !=0 || year%400 == 0));}
			function optionsClear(e)
			{
				e.options.length = 1;
			}

			</script>
	</body>
</html>
